package com.ep.mapper;

import com.ep.entity.Personnel;
import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface PersonnelMapper {
    int deleteByPrimaryKey(Integer pId);

    int insert(Personnel record);

    Personnel selectByPrimaryKey(Integer pId);

    List<Personnel> selectAll();

    int updateByPrimaryKey(Personnel record);
    
    Personnel deng(@Param("pName")String pName,@Param("pPswd")String pPswd);
}